package com.fortune.dto.excution;

import com.fortune.base.BaseAPIExcution;
import com.fortune.enums.PaymentMethodEnum;

public class PaymentMethodExcution<T> extends BaseAPIExcution<T>{
    public PaymentMethodExcution(T t, PaymentMethodEnum paymentMethodEnum){
        this.data = t;
        this.status = paymentMethodEnum.isStatus();
        this.msg = paymentMethodEnum.getMsg();
    }
}
